package com.snow.security.repository;

import com.snow.core.util.repository.BaseRepository;
import com.snow.security.repository.entity.User;
import org.springframework.stereotype.Repository;

/**
 * @create by SNOW 2018.07.12
 */
@Repository
public interface UserRepository extends BaseRepository<User> {
    User findByEmail(String email);
    User findByUsername(String username);
}
